<%= link_to 'Systems', :action => :index %>
<h1> System <%= @system.name %> info: </h1>
<div id="system-content">
	<table>
		<tr>
			<td> HD Number: </td>
			<td> <%= @system.hd_number %> </td>
		</tr>
		<tr>
			<td> HIPP Number: </td>
			<td> <%= @system.hip_number %> </td>
		</tr>
		<tr>
			<td> Star mass:</td>
			<td> <%= @system.mass %> </td>
			<td> (in solar masses) </td>
		</tr>
		<tr>
			<td> Velocity: </td>
			<td> <%= @system.velocity %> </td>
		</tr>
		<tr>
			<td> Effective Temperature: </td>
			<td> <%= @system.effective_temperature %> </td>
		</tr>
		<tr>
		  <td> Reference: </td>
		  <td> <%= @system.reference %> </td>
		</tr>
	</table>
	<%= render_partial 'planets' %>
	<%= render_partial 'simulations' %>

		
</div>
